<%@ page import="com.alibaba.druid.util.StringUtils" %><%--
  Created by IntelliJ IDEA.
  User: 勇
  Date: 2016/9/1
  Time: 9:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../inc/top.jsp"%>
<%
    String zhanghao= request.getParameter("zhanghao") ;
    String mima= request.getParameter("mima") ;
    zhanghao = StringUtils.equals(null,zhanghao)?"":zhanghao ;
    mima = StringUtils.equals(null,mima)?"":mima ;
%>
<div align="center" style="background-image: url(<%=ctxpath%>/img/denglu.jpg)">
<h2>用户登录</h2>
<hr/>
<form name="userlogin" id="userlogin"  action="<%=ctxpath%>/user/hehelogin.jsp" method="post" >
    <div class="form-group">
        <label>
            账号：
            <input type="tel" class="form-control" name="zhanghao" value="<%=zhanghao%>" id="zhanghao" />
        </label>
    </div>
    <div class="form-group">
        <label>
            密码：
            <input type="password" class="form-control" value="<%=mima%>" name="mima" id="mima" />
        </label>
    </div>
    <button class="btn btn-primary" type="button" id="user_login">
        登录
    </button>
    <button  id="wangzhuce_reg"  type="button" class="btn btn-info">
        注册
    </button>
    <hr/>
    <p>忘记密码?</p>
    <button type="button" class="btn btn-info">
        找回密码
    </button>
</form>
</div>
<script>
    $(function () {
        $("#user_login").click(function(){
            $("#userlogin").submit();

        });

    });
</script>
<%@include file="../inc/bottom.jsp"%>
